package com.zzx.model;

public class Book {

	private Integer id;
	private String name;
	private String author;
	private Double price;
	private String type;
	private String publicationDate;
	private String picAddress;
	private String press;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPublicationDate() {
		return publicationDate;
	}
	public void setPublicationDate(String publicationDate) {
		this.publicationDate = publicationDate;
	}
	public String getPicAddress() {
		return picAddress;
	}
	public void setPicAddress(String picAddress) {
		this.picAddress = picAddress;
	}
	public String getPress() {
		return press;
	}
	public void setPress(String press) {
		this.press = press;
	}
	
	@Override
	public String toString() {
		return "Book [id=" + id + ", name=" + name + ", author=" + author + ", price=" + price + ", type=" + type
				+ ", publicationDate=" + publicationDate + ", picAddress=" + picAddress + ", press=" + press + "]";
	}
	
	public Book(Integer id, String name, String author, Double price, String type, String publicationDate,
			String picAddress, String press) {
		this.id = id;
		this.name = name;
		this.author = author;
		this.price = price;
		this.type = type;
		this.publicationDate = publicationDate;
		this.picAddress = picAddress;
		this.press = press;
	}
	
	public Book() {
	}
	
	
	
}
